<?php

	include_once('../sys/sys.php');
	header('Content-Type: text/html; charset=utf-8');
	$action = $_GET['action'];
// 	$tid = $_GET['tid'];
	
	if($action != 'all'){
		show_normal_mesR('TAG ID错误','TAG ID错误','TAG查询');
	}
	//开始获取该ID下的图片
	$DB->build_query(array(
			'select' 	=> '*',
			'from'		=> 'xemh',
	));
	$qid = $DB->exec_query();
	
	$pics = '';
	
	
	while ($row = $DB->fetch_row($qid)) {
		$pre_url = $row['url'];
		$pics .= $pre_url . "\r\n";
	}
	if($action == 'all'){
		echo '<textarea rows="20" cols="80" tabindex="2" class="txtarea">' . $pics . '</textarea>';
	}

	exit;
?>